<template>
  <el-menu
    default-active="/"
    class="el-menu-vertical-demo"
    background-color="#545c64"
    text-color="#fff"
    active-text-color="#ffd04b"
    :router="true"
  >
    <el-menu-item index="/">
      <i class="el-icon-s-order"></i>
      <span slot="title">任务列表</span>
    </el-menu-item>
    <el-menu-item index="/monitor">
      <i class="el-icon-s-data"></i>
      <span slot="title">执行监控</span>
    </el-menu-item>
  </el-menu>
</template>

<script>
export default {
  name: 'SideMenu'
};
</script>

<style scoped>
.el-menu-vertical-demo:not(.el-menu--collapse) {
  width: 200px;
  min-height: 400px;
}
</style> 